package com.eastfair.venueservice.dto;

import com.eastfair.projectcore.enumeration.DataIsolationSystemSceneEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 服务价目信息表
 * </p>
 *
 * @author linan
 * @since 2022-07-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ServicePriceListItemPageQuery", description = "服务价目信息表")
public class ServicePriceListItemQuery implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;
    /**
     * 服务项id
     */
    @ApiModelProperty(value = "服务项id")
    private Long serviceItemId;
    /**
     * 服务项名称
     */
    @ApiModelProperty(value = "服务项名称")
    private String serviceItemName;
    /**
     * 价目id
     */
    @ApiModelProperty(value = "价目id")
    @NotNull(message = "价目ID不能为空",groups = {Query.class})
    private Long priceListId;
    /**
     * 是否对主场开放：1是；0否
     */
    @ApiModelProperty(value = "是否对主场开放：1是；0否")
    private Integer isForHome;
    /**
     * 是否对主运开放：1是；0否
     */
    @ApiModelProperty(value = "是否对主运开放：1是；0否")
    private Integer isForTransport;
    /**
     * 是否对主办开放：1是；0否
     */
    @ApiModelProperty(value = "是否对主办开放：1是；0否")
    private Integer isForSponsor;
    /**
     * 系统场景
     */
    @ApiModelProperty(value = "系统场景")
    private DataIsolationSystemSceneEnum systemScene;

    public interface Query{};

}
